import 'package:flutter/material.dart';

import 'package:get/get.dart';
import 'package:myapp/app/theme/app_color.dart';
import 'package:myapp/app/widget/broker_info_item_widget.dart';
import 'package:myapp/app/widget/title_bar.dart';

import '../controllers/brokerinfo_controller.dart';

class BrokerInfoView extends GetView<BrokerinfoController> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: TitleBar(
          title: "经纪信息",
          rightText: "修改",
        ),
        centerTitle: true,
      ),
      body: Container(
        child: ListView(
          padding: EdgeInsets.only(left: 16, right: 16),
          children: [
            Padding(padding: EdgeInsets.only(top: 30), child: BrokerInfoItemWidget(0),),
            Divider(height: 1, color: AppColor.hex_blue20,),
            Padding(padding: EdgeInsets.only(top: 30), child: BrokerInfoItemWidget(1),),
            Divider(height: 1, color: AppColor.hex_blue20,),
            Padding(padding: EdgeInsets.only(top: 30), child: BrokerInfoItemWidget(2),),
          ],
        ),
      ),
    );
  }
}
